package com.limeng.catalina.mapper;

import java.util.Map;

public class MappedHost extends MapperElement {

    private String name;

    private String appBase;

    private Map<String,MappedContext> contexts;

    public MappedHost(String name, String appBase) {
        super(name, null);
        this.name = name;
        this.appBase = appBase;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppBase() {
        return appBase;
    }

    public void setAppBase(String appBase) {
        this.appBase = appBase;
    }

    public Map<String, MappedContext> getContexts() {
        return contexts;
    }

    public void setContexts(Map<String, MappedContext> contexts) {
        this.contexts = contexts;
    }
}
